package com.skt.result;

import lombok.Data;

@Data
public class ErrorResult {
    private int code;
    private String message;
    private String path;
    private Object details;

    public ErrorResult(int code, String message, String path) {
        this.code = code;
        this.message = message;
        this.path = path;
    }

    public ErrorResult(int code, String message, String path, Object details) {
        this.code = code;
        this.message = message;
        this.path = path;
        this.details = details;
    }
}